# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-fuse
pkgver=0_git20220417
pkgrel=0
_commit="71557910d4a2f290fc85235f2fc1b81eec006689"
pkgdesc="port of the Fuse Unix Spectrum Emulator to libretro"
url="https://github.com/libretro/fuse-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/fuse-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/fuse-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 fuse_libretro.so "$pkgdir"/usr/lib/libretro/fuse_libretro.so
}

sha512sums="
9c34d93fbc36326ad13aa92091e2d14df2f3305c1ce75d2e2ac2a5765a655b14e850147414d82457865b9c33b124aa2ef9d1ad0cf33657c635da97e0efb8e08f  libretro-fuse-71557910d4a2f290fc85235f2fc1b81eec006689.tar.gz
"
